GNUH8 v11.01 1st March 2011 KPIT Cummins Infosystems Limited is releasing the GNUH8 v11.01, a cross compiler tool for Renesas H8 micro-controllers. SALIENT FEATURES: 1. The GNUH8 v11.01 toolchain is based on gcc-4.5.2 [released], binutils-2.21 [released], newlib-1.18.0 [released] and gdb-7.2.50 [snapshot dated 7th December 2010]. 2. The latest patches are applied to gcc, binutils and newlib sources. Please visit the following link for information on the patches applied to the GNUH8 toolchain: http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=001005&id=42&lang=en 3. The GNUH8 v11.01 ELF toolchain supports integration with the KPIT Eclipse v1.1.0 and the later versions. Please visit the following link for information on the latest releases of KPIT Eclipse: http://www.kpitgnutools.com/releaseNotes.php ABOUT GNUH8 v11.01: Release Version: GNUH8 v11.01 Release Date: 1st March 2011 Platforms Supported: Red Hat GNU/Linux v8.0 or later (or compatible distribution) Windows NT/2000/XP/Vista/Windows 7 Language: C, C99, C++ Targets: H8/300 H8/300L H8/300H H8/300H Tiny Series H8/S 2XXX H8/S 26XX H8/SX Object File Format: ELF CHANGES IN THIS RELEASE: This section describes the enhancements made and the issues fixed in v11.01 release. GCC: 1. The GNUH8 toolchain generated internal compiler error (ICE) for certain test cases that invoked bit manipulation instructions through logical operations. This bug has now been fixed. 2. The GNUH8 toolchain generated incorrect branch to offset labels when size optimization was used. This bug has now been fixed. HEW (For Windows OS only): 1. Use of the Flash Development Tool (FDT) plug-ins under HEW is deprecated. Hence, users are advised to download the latest version of FDT application and use it independently for Flash downloads. KNOWN LIMITATIONS IN H8-ELF: This section describes the known limitations in this release. We intend to fix these issues in our future releases. We occasionally release maintenance packs for critical bug fixes. Windows and GNU/Linux: 1. The following code, when compiled for H8300H, H8300HN, H8S, H8SN, H8SX, and H8SXN targets with the optimization option '-O1' or above, generates incorrect assembly code. unsigned int ReadWordx86Style(unsigned long lAddr) { unsigned char baBuff[2]; baBuff[0x00]=*((unsigned char *)((unsigned int)(lAddr+1))); baBuff[0x01]=*((unsigned char *)((unsigned int)(lAddr+0))); return((*(unsigned int *)baBuff)); } int start(void) { unsigned char baBuff[256]; unsigned int wResult; wResult = ReadWordx86Style((unsigned long)((unsigned int)baBuff)); return(wResult); } 2. The '.tinybss' implementation does not work as expected. 3. The 'scanf' and 'sscanf' functions of newlib do not work for the H8300HN, H8SN and H8SXN targets when '-mint32' is passed to the compiler. 4. Library Generator: Please visit the following link for the known issues and limitations related to this utility: http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=001002& id=413&lang=en HEW (For Windows OS only): 1. In HEW, when optimized libraries are used in C++ projects, the linker generates "undefined references" error for some ANSI C library functions as they are not implemented. Workaround: Users can add their own implementation of these functions or can provide dummy routines depending upon the usage. 2. The 'Generate Makefile' feature is currently not supported in HEW. For other limitations pertaining to the single interface for the compiler, assembler, linker and library generator, please visit the following link: http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=003001& id=445&lang=en NOTE: Windows and GNU/Linux: 1. The optimized libraries provided along with the newlib libraries in the toolchain do not require a separate download. 2. The optimized libraries ('liboptm.a' and 'liboptc.a') are not provided under GNU GPL. The source code of these optimized libraries is neither released nor available on request. 3. The "libgen" utility is not provided under GNU GPL. The source code of the "libgen" utility is neither released nor available on request. For free technical support, please register at http://www.kpitgnutools.com For your feedback and suggestions, please visit http://www.kpitgnutools.com/ feedback.php